let oAnswers = $("p.answer");
let zResult = $("div.result");
// 键代表正确答案
// 值代表用户选中的数据
// 模拟数据
let results = {
    "美女": undefined,
    "宝塔": undefined,
    "诸葛神侯": undefined,
    "肌肉男": undefined,
    "琵琶女": undefined
};
console.log(oAnswers);
console.log(results);
oAnswers.on("tap", function(e) {
    let oEle = e.target;
    let children = oEle.parentNode.children;
    results[oEle.parentNode.dataset.result] = oEle.innerHTML.trim();
    for (let i = 0, l = children.length; i < l; i++) {
        children[i].classList.remove("active");
    }
    oEle.classList.add("active");
    showNext();
    //#endregion
    if (left === 4) {
        // 弹出查看结果
        zMain.hide("ease-out");
        zResult.show("ease-in");
    } else {
        zMain.show();
        zResult.hide();
    }

})